﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Transactions {
    import Engine.Transactions.*;

    public class TFarmTransaction extends Transaction {

        protected static var m_gamedata:Object;
        protected static var m_pushdata:Object;

        protected var m_expectedEnergy:int;

        public static function get gamedata():Object{
            return (m_gamedata);
        }
        public static function get pushdata():Object{
            return (m_pushdata);
        }

        protected function beforeAmfComplete(_arg1:Object):void{
            m_pushdata = null;
            m_gamedata = null;
            if (((_arg1) && (_arg1.metadata))){
                if (_arg1.metadata.gamedata){
                    m_gamedata = _arg1.metadata.gamedata;
                };
                if (_arg1.metadata.pushdata){
                    m_pushdata = _arg1.metadata.pushdata;
                };
            };
        }
        final override protected function onAmfComplete(_arg1:Object):void{
            this.beforeAmfComplete(_arg1);
            super.onAmfComplete(_arg1);
            var _local2:Object = TFarmTransaction.gamedata;
            if (_local2 != null){
            };
        }
        public function onAdd():void{
            this.m_expectedEnergy = Global.player.energy;
        }

    }
}//package Transactions 
